package cn.xo68.boot.auth.server.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 登录失败次数限制 实体
 * @author wuxie
 * @version 2019-4-23
 */
public class LoginFailLimit implements Serializable {

    /**
     * 用户名
     */
    private String userName;
    /**
     * 第一次出错时间
     */
    private Date firstDate;
    /**
     * 最后一次出错时间
     */
    private Date lastDate;

    /**
     * 登录失败次数
     */
    private int failTimes=0;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getFirstDate() {
        return firstDate;
    }

    public void setFirstDate(Date firstDate) {
        this.firstDate = firstDate;
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public int getFailTimes() {
        return failTimes;
    }

    public void setFailTimes(int failTimes) {
        this.failTimes = failTimes;
    }
}
